#include <iostream>

using namespace std;

int main(void)
{
    //1. Verify that the initialization format `int a = {13}` in C++ newest version.
    int I_format = {13};

    cout << "int xxx = {value} is useful ? I_format = " << I_format << endl;
    //Conclusion: Yes, it works

    //2. Confirm the new format of initialization in C++
    int I_int_a = {};
    int I_int_b{12};
    int I_int_c = {13};
    char C_char = {};
    int I_int_d;
    string S_string = {};

    cout << "I_int_a = " << I_int_a << endl;
    cout << "I_int_b = " << I_int_b << endl;
    cout << "I_int_c = " << I_int_c << endl;
    cout << "C_char = " << C_char << endl;
    cout << "S_string = " << S_string << endl;
    cout << "I_int_d = " << I_int_d << endl;
    //Conclusion: They all works, Rubbish value is stored in I_int_d, however 0 is stored in I_int_a
 
    return 0;
}

